Smush\Core\Product_Analytics S

Total Complexity 44
Dependencies 12
Dependents 2
Total lines 268
Lines of code 176
Logical lines of code 81
Comment lines 43
Methods 21
Properties 7

Methods 21

Method Rating Maintainability Complexity Lines of code
track_with_limit()
S
52 5 24
get_super_properties()
S
53 4 21
get_date_time_properties()
S
58 3 15
get_event_count_key_smush_error_encountered()
S
64 3 9
track()
S
66 3 8
get_unique_id()
S
65 3 9
maybe_track()
S
65 3 10
get_event_count_key()
S
68 2 7
get_instance()
S
71 2 6
has_valid_domain()
S
67 2 8
get_token()
S
72 2 6
prepare_analytics_instance()
S
64 2 9
get_analytics()
S
72 2 6
maybe_track_error()
S
63 1 12
normalize_url()
S
74 1 4
__construct()
S
68 1 7
tracking_enabled()
S
80 1 3
set_analytics()
S
81 1 3
event_has_limit()
S
80 1 3
set_settings()
S
81 1 3
get_time_utils()
S
82 1 3